Fix missing return from quartz_filter_keypress
authorEk Kato <ek.kato@gmail.com>
Thu, 29 Aug 2013 21:12:09 +0000 (14:12 -0700)
committerJohn Ralls <jralls@ceridwen.us>
Thu, 29 Aug 2013 21:12:09 +0000 (14:12 -0700)
modules/input/imquartz.c

index febf41bc69c37de245f4e87c785dc27150df59f1..67c7d6c380f5f1353ae61898d482ceeb42d9bc71 100644 (file)
@@ -168,7 +168,7 @@ output_result (GtkIMContext *context,
       g_signal_emit_by_name (context, "preedit_changed");
       retval = TRUE;
     }
-  if (!fixed_str && !marked_str) 
+  if (!fixed_str && !marked_str)
     {
       if (qc->preedit_str && strlen (qc->preedit_str) > 0)
         retval = TRUE;
@@ -209,7 +209,7 @@ quartz_filter_keypress (GtkIMContext *context,
     {
       if (event->hardware_keycode == 0 && event->keyval == 0xffffff)
         /* update text input changes by mouse events */
-        output_result(context, win);
+        return output_result (context, win);
       else
         return gtk_im_context_filter_keypress (qc->slave, event);
     }